{extend name="layout"}
{block name="detail"}
<header class="aui-header-default aui-header-fixed aui-header-bg">
    <div class="aui-car-white-Typeface" style="width:100%;">申请退款</div>
</header>
<section class="aui-myOrder-content" style="padding: 10px;margin-top: 30px;margin-left: 30px;">
    <form>
        <div class="form-group row">
            <label>申请类型： </label>
            <span> {$refund.refundType}</span>
        </div>
        <div class="form-group row">
            <label>退款原因：</label>
            <span> {$refund.refundReason}</span>
        </div>

        <div class="form-group row">
            <label>退款金额：</label>
            <span> {$refund.refundFee/100}</span>
        </div>
        {if condition="$refund.info"}
        <div class="form-group row">
            <label>退款说明：</label>
            <span>{$refund.info}</span>
        </div>
        {/if}

        {if condition="$refund.img"}
        <div class="form-group row">
            <label>图片：</label>
            <span><img id="imghead" src="{$refund.img}" style=" width:200px;"></span>
        </div>
        {/if}
        <div class="form-group row">
            <label>退款状态</label>
            <span>
                {if condition="$refund.refundStatus eq 'wait'"}
                    等待卖家同意
                {/if}
                {if condition="$refund.refundStatus eq 'success'"}
                    退款成功
                {/if}
                {if condition="$refund.refundStatus eq 'close'"}
                    退款关闭
                {/if}
                 {if condition="$refund.refundStatus eq 'reject'"}
                    卖家拒绝退款
                {/if}
            </span>
        </div>
        {if condition="$refund.refundStatus eq 'close'"}
       <div class="text-center">
           <a href="{:url('index/center/refundOrder')}?id={$refund.orderId}" class="btn btn-primary">重新申请</a>
       </div>
        {/if}
    </form>
</section>
<div style="height:100px;"></div>

{/block}